package com.hskn.hss.module.workrule.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.core.domain.BaseEntity;
import com.hskn.hss.entity.AjaxResult;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.workgroup.entity.WorkGroup;
import com.hskn.hss.module.workrule.entity.WorkRule;
import com.hskn.hss.module.workrule.entity.WorkRuleFull2;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-12
 */
public interface IWorkRuleService extends IService<WorkRule> {

    JSONObject mList(BaseEntity entity, JSONObject params) throws HssException;

    void mUpdate(JSONObject params) throws HssException;

    void add(JSONObject params) throws HssException;

    AjaxResult<Object> deleteJxqs(WorkRule workRule) throws HssException;

    AjaxResult<Object> deleteLjzy(WorkRule workRule) throws HssException;

    AjaxResult<Object> deleteLjqy(WorkRule workRule) throws HssException;

    AjaxResult<Object> deleteDlbj(WorkRule workRule) throws HssException;

    WorkRuleFull2 detail(JSONObject params) throws HssException;

}
